From: Jim Blandy Date: Sat, 15 May 1993 23:20:33 +0000 (+0000) Subject: * process.c (wait_reading_process_input): If we're running X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96245 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=26ec91de259ae06812cc20d131369f716b5474eb;p=emacs.git * process.c (wait_reading_process_input): If we're running Solaris, it's not necessary to check if we should redeliver SIGIO, according to David Mackenzie. * s/sol2.h: #include "usg5-4.h", and #define const. --- diff --git a/src/process.c b/src/process.c index 2c3ad252a68..d056e1111bf 100644 --- a/src/process.c +++ b/src/process.c @@ -1841,7 +1841,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) else error("select error: %s", sys_errlist[xerrno]); } -#ifdef sun +#if defined(sun) && !defined(USG5_4) else if (nfds > 0 && FD_ISSET (0, &Available) && interrupt_input) /* System sometimes fails to deliver SIGIO. */ kill (getpid (), SIGIO); diff --git a/src/s/sol2.h b/src/s/sol2.h index 18d6d74f1cc..56458203de2 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -1,4 +1,4 @@ -#include "s-usg5-4.h" +#include "usg5-4.h" #define POSIX @@ -17,6 +17,7 @@ #else /* GCC */ #define C_SWITCH_SYSTEM -traditional #endif /* GCC */ +#define const /* Karl Berry writes: If you have the misfortune to be running Solaris 2.1, you may have